#ifndef DELETEQUE_H
#define DELETEQUE_H

#include <QWidget>
#include "database.h"
#include "question.h"
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>
#include <QMessageBox>
#include <QDebug>
namespace Ui {
class Deleteque;
}

class Deleteque : public QWidget
{
    Q_OBJECT

public:
    explicit Deleteque(QWidget *parent = nullptr);
    ~Deleteque();

signals:
    void del_exit();

private slots:
    void on_pushButton_del_exit_clicked();

    void on_pushButton_refresh_clicked();

    void on_pushButton_delete_conf_clicked();

private:
    Ui::Deleteque *ui;
    QSqlDatabase db;
};

#endif // DELETEQUE_H
